package gui;

import java.util.ResourceBundle;

import javax.swing.JPanel;

import domein.DomeinController;

public abstract class DomeinPaneel extends JPanel
{
/*Attributen*/
	protected GuiController guiController;
	protected DomeinController domeinController;
	protected ResourceBundle berichten;
	
/*Constructor*/
	public DomeinPaneel(GuiController controller)
	{
		this.setGuiController(controller);
		this.setDomeinController(guiController.getDomeinController());
		this.setBerichten(guiController.getBerichten());
	}
	
/*Getters & setters*/
	public GuiController getGuiController()
	{
		return guiController;
	}
	public void setGuiController(GuiController guiController)
	{
		this.guiController = guiController;
	}

	public ResourceBundle getBerichten()
	{
		return berichten;
	}

	public void setBerichten(ResourceBundle berichten)
	{
		this.berichten = berichten;
	}

	public DomeinController getDomeinController()
	{
		return domeinController;
	}

	public void setDomeinController(DomeinController domeinController)
	{
		this.domeinController = domeinController;
	}
}
